<template>
    <div class="ADIndex">
        <el-container>
            <el-aside height="100vh" width="200px">
                <Adminside></Adminside>
            </el-aside>
            <el-container>
                <el-header style="height: 50px;">
                    <AdminHeader></AdminHeader>
                </el-header>
                <el-main style="padding: 0; margin-left: 5px;margin-top: 15px;font-family: text; font-size: 20px;">
                    <RouterView></RouterView>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import Adminside from '../components/AdminAside.vue'
import AdminHeader from '../components/AdminHeader.vue'
export default {
    name: 'ADIndex',
    data() {
        return {

        }
    },
    components: {
        Adminside,
        AdminHeader
    },
    methods: {
    }
}
</script>

<style scoped>
.el-header {
    color: #333;
    text-align: center;
    line-height: 60px;
    padding: 0;
}

.el-aside {
    color: #333;
    text-align: center;
    line-height: 200px;
    margin-right: 5px;
}


.el-container {
    background-color: #f0f0f0;
}

body>.el-container {
    margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
    line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
    line-height: 320px;
}
</style>
